package com.sc.pojo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @description: 场地
 * @author: sc
 * @create: 2023-01-02 17:13
 **/
@Data
@ToString
public class Field {
      private int      fieldid;
      private String      fieldname;
      private String      fieldpicture;
      private String      fieldinformation;
      private String      fieldlocation;
      private int       showstate;
      private String      fieldincharge;
      private String      fieldstate;

    public Field(int fieldid, String fieldname, String fieldpicture,
                 String fieldinformation, String fieldlocation,
                 int showstate, String fieldincharge, String fieldstate) {
        this.fieldid = fieldid;
        this.fieldname = fieldname;
        this.fieldpicture = fieldpicture;
        this.fieldinformation = fieldinformation;
        this.fieldlocation = fieldlocation;
        this.showstate = showstate;
        this.fieldincharge = fieldincharge;
        this.fieldstate = fieldstate;
    }

    public int getFieldid() {
        return fieldid;
    }

    public void setFieldid(int fieldid) {
        this.fieldid = fieldid;
    }

    public String getFieldname() {
        return fieldname;
    }

    public void setFieldname(String fieldname) {
        this.fieldname = fieldname;
    }

    public String getFieldpicture() {
        return fieldpicture;
    }

    public void setFieldpicture(String fieldpicture) {
        this.fieldpicture = fieldpicture;
    }

    public String getFieldinformation() {
        return fieldinformation;
    }

    public void setFieldinformation(String fieldinformation) {
        this.fieldinformation = fieldinformation;
    }

    public String getFieldlocation() {
        return fieldlocation;
    }

    public void setFieldlocation(String fieldlocation) {
        this.fieldlocation = fieldlocation;
    }

    public int getShowstate() {
        return showstate;
    }

    public void setShowstate(int showstate) {
        this.showstate = showstate;
    }

    public String getFieldincharge() {
        return fieldincharge;
    }

    public void setFieldincharge(String fieldincharge) {
        this.fieldincharge = fieldincharge;
    }

    public String getFieldstate() {
        return fieldstate;
    }

    public void setFieldstate(String fieldstate) {
        this.fieldstate = fieldstate;
    }

    public Field() {
    }

    @Override
    public String toString() {
        return "Field{" +
                "fieldid=" + fieldid +
                ", fieldname='" + fieldname + '\'' +
                ", fieldpicture='" + fieldpicture + '\'' +
                ", fieldinformation='" + fieldinformation + '\'' +
                ", fieldlocation='" + fieldlocation + '\'' +
                ", showstate=" + showstate +
                ", fieldincharge='" + fieldincharge + '\'' +
                ", fieldstate='" + fieldstate + '\'' +
                '}';
    }
}